package com.jmp.autocofiguration.web.interceptor;

import com.jmp.base.dto.LogAddRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.context.ApplicationEvent;

@Data
@EqualsAndHashCode(callSuper = true)
public class LogAddEvent extends ApplicationEvent {
    /**
     * Create a new ApplicationEvent
     */
    private LogAddEvent() {
        super("LogAdd");
    }

    public LogAddEvent(LogAddRequest logAddRequest) {
        this();
        this.logAddRequest = logAddRequest;
    }

    private LogAddRequest logAddRequest;
}
